This sample script demonstrates how a script can make Snak store arbitrary , named data in the settings, and how to retrieve them. 
The data is stored in the Snak preference file and is persistent.